#! /bin/shell
###
 # @Author: wangzhichiao<https://github.com/wzc570738205>
 # @Date: 2021-04-28 09:34:22
 # @LastEditors: wangzhichiao<https://github.com/wzc570738205>
 # @LastEditTime: 2021-06-02 14:52:32
### 

#======================================================================
# 项目重启shell脚本
# 先调用shutdown.sh停服
# 然后调用startup.sh启动服务

#======================================================================

# 项目名称
APPLICATION="client-0.0.1-SNAPSHOT"

# 项目启动jar包名称
APPLICATION_JAR="client-0.0.1-SNAPSHOT.jar"

# 停服
echo stop ${APPLICATION} Application...
sh ./shutdown.sh

# 启动服务
echo start ${APPLICATION} Application...
sh ./startup.sh